﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrokerBase.Lib.Core;

namespace BrokerBase.Lib.Product
{
    public enum PaymentPeriodStyle { Once = 1, Period = 2, Age = 3, EqualInsPeriod = 4, EqualBasic = 5, Lifetime=6 };
    /// <summary>
    /// 付款期限
    /// </summary>
    public interface IPaymentPeriod:IPK
    {
        /// <summary>
        /// 所有者
        /// </summary>
        IProduct Owner { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        string Name { get; set; }
        /// <summary>
        /// 值
        /// </summary>
        int Value { get; set; }
        /// <summary>
        /// 付款类型
        /// </summary>
        PaymentPeriodStyle Style { get; set; }

        object Tag { get; set; }
    }
}
